home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / GIFLIB12.ARJ / GIFDEBUG.DSK (.txt) < prev    next >
Turbo C Context File  |  1991-08-03  |  4KB  |  143 lines

  1. Turbo C Context File 
  2. ..\LIB\GIF_LIBL.LIB
  3. GIFRSIZE.C
  4. C:\TC\MYLINCLUDE\*.H
  5. C:\TC\MYINCLUDE\*.H
  6. TCSET
  7. E:EPSF.
  8. ..\LIB\*.H
  9. MAKE*.*
  10. GIF2RGB.C
  11. ..\LIB\EGIF*.C
  12. F:\INCLUDE\MATH.H
  13. ..\LIB\GETARG.C
  14. ..\LIB\EGIF_LIB.C
  15. \gif\dragon.gif
  16. -d c:\tc\bgi \gif\dragon.gif
  17. -u c:\tc\bgi\vga256.0 \gif\dragon.gif
  18. -u c:\tc\bgi\ati\vga256.0 ..\s.gif
  19. -u e:\cbgi\cbgisrc\ati\ati.2 e:\c.gif
  20. \gif\porsche.gif
  21. -1 -s 41 101 po-rgb
  22. -s 320 200 earth
  23. -a 45 p.gif
  24. -a 45 -s 640 480 p.gif
  25. -s 5 p.gif
  26. -x 5 p.gif
  27. -s 0.5 p.gif
  28. -S 640 480 p.gif
  29. sall.gif
  30. void *.c
  31. struct *.c
  32. struct *.h
  33. ViewFlag *.c
  34. NULL *.c
  35. for *.c
  36. else *.c
  37. printf *.c
  38. EXIT *.c
  39. MESSAGE *.c
  40. IBM *.c
  41.  void *.c 
  42. VERSION *.c
  43. GraphMode
  44. GetRecord
  45. static
  46. ProgramName
  47.  ERROR
  48. Angle
  49. Height
  50. malloc
  51. Failed 
  52. NumRead
  53. float
  54. PROGRAM_NAME
  55. GIF2BGI.C
  56. ..\LIB\GIF_LIBL.LIB
  57. GIFHN.C
  58. GIFFIX.C
  59. GIF2RGB.C
  60. RGB2GIF.C
  61. GIFROTAT.C
  62. GIFRSIZE.C
  63. TMP.C
  64. LineOut[638],x
  65. LineOut[639],x
  66. &LineOut[639],p
  67. LineOut
  68. LineOut,p
  69. LineIn
  70. *LineIn
  71. *LineIn,p
  72. *LineIn,x
  73. last_iy
  74. YSize
  75. Private
  76. Private -> PixelCount,x
  77. Private -> PixelCount
  78. last_iy > 197
  79. D:\C\GIF\UTIL\RAW2GIF.C
  80. D:\C\GIF\UTIL\GIF2EPSN.C
  81. D:\C\GIF\UTIL\RGB2GIF.C
  82. D:\C\GIF\LIB\EGIF_LIB.C
  83. D:\C\GIF\UTIL\RGB2GIF.C
  84. D:\C\GIF\UTIL\GIF2RGB.C
  85. D:\C\GIF\UTIL\RGB2GIF.C
  86. D:\C\GIF\UTIL\GIF2BGI.C
  87. D:\C\GIF\UTIL\GIFROTAT.C
  88. D:\C\GIF\UTIL\TMP.C
  89. D:\C\GIF\UTIL\TMP.C
  90. D:\C\GIF\UTIL\TMP.C
  91. D:\C\GIF\UTIL\TMP.C
  92. D:\C\GIF\UTIL\GIFRSIZE.C
  93. D:\C\GIF\UTIL\TMP.C
  94. * -s Width Height : specifies size of raw image.                             *
  95. #ifdef __MSDOS__
  96.     setmode(0, O_BINARY);
  97. #endif /* __MSDOS__ */
  98.     if ((GifFile = DGifOpenFileHandle(0)) == NULL) {
  99.         PrintGifError();
  100.         exit(-1);
  101.     if (FileName != NULL) {
  102.     char OneFileName[80];
  103.     if (OneFileFlag) {
  104.         if ((f[0] = fopen(FileName, "r")) == NULL)
  105.         GIF_EXIT("Can't open input file name.");
  106.     else {
  107.         static char *Postfixes[] = { ".R", ".G", ".B" };
  108.         for (i = 0; i < 3; i++) {
  109.         strcpy(OneFileName, FileName);
  110.         strcat(OneFileName, Postfixes[i]);
  111.         if ((f[i] = fopen(FileName, "r")) == NULL)
  112.             GIF_EXIT("Can't open input file name.");
  113.         }
  114.     }
  115.     else {
  116.     OneFileFlag = TRUE;
  117. #ifdef __MSDOS__
  118.     setmode(0, O_BINARY);
  119. #endif /* __MSDOS__ */
  120.     f[0] = stdin;
  121.     }
  122. #ifdef __MSDOS__
  123.     setmode(FileHandle, O_BINARY);      /* Make sure it is in binary mode. */
  124.     f = fdopen(FileHandle, "wb");           /* Make it into a stream: */
  125.     setvbuf(f, NULL, _IOFBF, GIF_FILE_BUFFER_SIZE);   /* And inc. stream buffer. */
  126. #else
  127.     f = fdopen(FileHandle, "w");           /* Make it into a stream: */
  128. #endif /* __MSDOS__ */
  129. #ifdef __MSDOS__
  130.         if ((f[0] = fopen(FileName, "wb")) == NULL)
  131. #else
  132.         if ((f[0] = fopen(FileName, "w")) == NULL)
  133. #endif /* __MSDOS__ */
  134.     fclose(f[0]);
  135.     fclose(f[1]);
  136.     fclose(f[2]);
  137.     GifRecordType RecordType;
  138.     InterlacedOffset[] = { 0, 4, 2, 1 }, /* The way Interlaced image should. */
  139.     InterlacedJumps[] = { 8, 8, 4, 2 };    /* be read - offsets and jumps... */
  140.     GifByteType *Extension;
  141. #define M_PI        3.14159265358979323846
  142.             GifQprintf("\b\b\b\b%-4d", last_iy + 1);
  143.